{include file='common/header'}
{include file='common/nav'}
<link rel="stylesheet" href="{:HOME_ROOT}/css/diary_view.css"/>

<div class="user">
    <div class="head">
        <img src="{:HOME_ROOT}/image/head.jpg" />
    </div>
    <div class="book-name">{$book.name}</div>
</div>

<each name="list" item="val">
<div class="view">
    <div class="top">
        <div class="date">{:date('Y-m-d', $val['time'])}</div>
        <div class="weather">多云</div>
    </div>
    <p class="clear"></p>
    <div class="panel">
        <div class="content">{$val.content}</div>
        <a class="reply" href="{:url('Diary/reply', ['did'=>$val['id']])}">
            <i class="fa fa-commenting-o"></i></a>
    </div>
</div>
</each>

{include file="common/footer"}